package com.tuozixuan.user.api;

import java.util.List;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.tuozixuan.user.model.User;

@RequestMapping("/user")
public interface UserApi {

	@RequestMapping("/getUserById")
	User getUserById(@RequestParam("id") String id);
	
	@RequestMapping("/getAllUser")
	List<User> getAllUser();
}
